﻿using System.Text.Json.Serialization;

namespace LightCAD.Core
{
    public class Paper : ElementContainer
    {
        public string Name { get; set; }
    }
    public class PaperSpace : LcadObject
    {
        [JsonInclude]
        public List<Paper> Papers { get; internal set; }

        public PaperSpace()
        {
        }
        public PaperSpace(LcDocument document)
        {
            this.Document = document;
            this.Papers = new List<Paper>();
        }
        public Paper CreatePaper(string name)
        {
            var paper = new Paper();
            paper.Name = name;
            return paper;
        }
    }

}
